remove non-ascii characters python

26

encoded_string = string_with_nonASCII.encode("ascii", "ignore")

Comments

Submit
0 Comments